'''
Created on 29/09/2011

@author: Ike-kun <ragnell22@gmail.com>
'''

from LogViewer import LogViewer 

if __name__ == "__main__":
    '''
    Number of logs the generator creates.
    While is possible to create up to 30,000 logs in less than a minute, when writing 
    to xml the number caps at 500 to avoid waiting too long for the viewer to load it.
    '''
    logsGenerated = 50000
    
    '''
    Number of logs the viewer will show.
    XML files caps at 500.
    '''
    maxLogDisplay = 30000

    '''
    Start the Log viewer with the given parameters.
    '''
    LogViewer(logsGenerated,maxLogDisplay)
